package com.yixun.qfbao.apidto;

import com.yixun.qfbao.annotation.TYWValid;
import com.yixun.qfbao.apidto.base.CommonReqDTO;

import java.io.Serializable;

/**
 * 标签新增请求参数
 * @author guifang.weng
 * @create 2017-11-23 14:45
 **/
public class AddBaseCodeTypeReqDto extends CommonReqDTO implements Serializable {
    private static final long serialVersionUID = 2972994189817219918L;
    /**
     * 类型父Id
     */
    @TYWValid(max = 20)
    private String parentId;
    /**
     * 类型名称
     */
    @TYWValid(min = 1,max = 20)
    private String typeName;
    /**
     * 备注
     */
    @TYWValid(max = 200)
    private String remark;
    /**
     * 登录人公司ID（后台使用）
     */
    private Long merchantId;

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Long getMerchantId() {
        return merchantId;
    }

    public void setMerchantId(Long merchantId) {
        this.merchantId = merchantId;
    }
}
